package org.zbclan.bf2.rcon.common.client;

import net.customware.gwt.presenter.client.DefaultEventBus;
import net.customware.gwt.presenter.client.EventBus;
import net.customware.gwt.presenter.client.gin.AbstractPresenterModule;
import net.customware.gwt.presenter.client.place.PlaceManager;

import com.google.inject.Singleton;

public class CommonClientModule extends AbstractPresenterModule {

	@Override
	protected void configure() {

		bind(EventBus.class).to(DefaultEventBus.class).in(Singleton.class);

		bind(PlaceManager.class).in(Singleton.class);

		// bindPresenter(HomePresenter.class, HomeDisplay.class,
		// HomeView.class);
		// bindPresenter(GPOPresenter.class, GPODisplay.class, GPOView.class);

	}
}